package com.itmake.sample.mqtt.consumer;

/**
 * mqtt 消费者
 *
 * @author Amjacks
 * @since 2021/04/21
 */
public interface MqttConsumer {

    /**
     * 处理消息
     *
     * @param topic 主题
     * @param msg   味精
     */
    void handlerMsg(String topic, String msg);
}
